package com.kehutong.wxapi.response;

import java.util.List;

/**
 * 获取客户朋友圈发表时选择的可见范围响应对象
 * @author: liukunlong
 * @date: 2021-03-05 10:27
 */
public class GetMomentCustomerListResponse {

    /**
     * errcode
     */ /**
     * errcode : 0
     * errmsg : ok
     * next_cursor : CURSOR
     * customer_list : [{"userid":"xxx","external_userid":"zhangsan "}]
     */

    private Integer errcode;
    /**
     * errmsg
     */
    private String errmsg;
    /**
     * nextCursor
     */
    private String nextCursor;
    /**
     * customerList
     */
    private List<CustomerListDTO> customerList;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getNextCursor() {
        return nextCursor;
    }

    public void setNextCursor(String nextCursor) {
        this.nextCursor = nextCursor;
    }

    public List<CustomerListDTO> getCustomerList() {
        return customerList;
    }

    public void setCustomerList(List<CustomerListDTO> customerList) {
        this.customerList = customerList;
    }

    public static class CustomerListDTO {
        /**
         * userid
         */ /**
         * userid : xxx
         * external_userid : zhangsan
         */

        private String userid;
        /**
         * externalUserid
         */
        private String externalUserid;

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getExternalUserid() {
            return externalUserid;
        }

        public void setExternalUserid(String externalUserid) {
            this.externalUserid = externalUserid;
        }
    }
}
